import Vue from 'vue'
import VueTk from 'vue-tk'
import VueTkUI from 'vue-tkui'
import 'vue-tk/dist/vue-tk.css'
import 'vue-tkui/dist/vue-tkui.css'
import 'assets/scss/main.scss'
Vue.use(VueTk)
Vue.use(VueTkUI)
VueTk.tkAjaxGlobal.baseURL = 'https://api.leancloud.cn'
VueTk.tkAjaxGlobal.headers = {}
VueTk.tkAjaxGlobal.headers['X-LC-Id'] = 'iXKyJaJKJWzJ9vekIHjPz58i-gzGzoHsz'
VueTk.tkAjaxGlobal.headers['X-LC-Key'] = 'vBSteTbi0W1cS2N2uBCnhemG'
VueTk.tkAjaxGlobal.errorHandler = {
  '210': function (error) {
    console.log(error)
  }
}
